<template>
  <div class="block">
    
    <el-carousel height="350px" width="400px">
      <el-carousel-item v-for="item in 4" :key="item">
        <h3>{{ item }}</h3>
      </el-carousel-item>
    </el-carousel>
  </div>

</template>

<style>
  .el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 150px;
    margin: 0;
  }

  .el-carousel__item:nth-child(n) {
     background-image:url(../assets/10.jpg);
  }
  
  .el-carousel__item:nth-child(2n) {
     background-image:url(../assets/11.jpg);
  }
 .el-carousel__item:nth-child(3n+2) {
     background-image:url(../assets/12.jpg);
  }
 .el-carousel__item:nth-child(4n) {
     background-image:url(../assets/13.jpg);
  }
.block{
    width:550px;
position: absolute;
margin-left:300px;
margin-top:50px;
}
</style>
